import type { FieldRule } from 'vant'
export const mobilerules: FieldRule[] = [
  { required: true, message: '请输入手机号' },
  { pattern: /^1[3-9]\d{9}$/, message: '手机号格式不正确' }
]
export const passwordrules: FieldRule[] = [
  { required: true, message: '请输入密码' },
  { pattern: /^\w{8,24}$/, message: '请输入8-24位密码' }
]
export const coderules: FieldRule[] = [
  { required: true, message: '请输入验证马' },
  { pattern: /^\d{6}$/, message: '请输入6位密码' }
]
